﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 患者预约信息
    /// </summary>
    public partial class MzysTbHzyyxx
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 预约序号
        /// </summary>
        public string Yyxh { get; set; } = null!;
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string Hzxm { get; set; } = null!;
        /// <summary>
        /// 医院编号
        /// </summary>
        public int? Yybh { get; set; }
        /// <summary>
        /// 科室编码
        /// </summary>
        public int? Ksbm { get; set; }
        /// <summary>
        /// 科室编号
        /// </summary>
        public string? Ksbh { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string? Ksmc { get; set; }
        /// <summary>
        /// 医生编码
        /// </summary>
        public int? Ysbm { get; set; }
        /// <summary>
        /// 医生工号
        /// </summary>
        public string? Ysgh { get; set; }
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string? Ysxm { get; set; }
        /// <summary>
        /// 预约日期
        /// </summary>
        public DateTime? Yyrq { get; set; }
        /// <summary>
        /// 预约时间
        /// </summary>
        public string? Yysj { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public byte? Zt { get; set; }
        /// <summary>
        /// 预约顺序编号
        /// </summary>
        public string? Yysxbh { get; set; }
        /// <summary>
        /// 预约顺序名称
        /// </summary>
        public string? Yysxmc { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Xb { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public string? Kh { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string? Zjhm { get; set; }
        /// <summary>
        /// 固定电话
        /// </summary>
        public string? Gddh { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string? Sjhm { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? Cjrq { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? Cjr { get; set; }
        /// <summary>
        /// 取消日期
        /// </summary>
        public DateTime? Qxrq { get; set; }
        /// <summary>
        /// 取消人
        /// </summary>
        public string? Qxr { get; set; }
        /// <summary>
        /// 是否成功
        /// </summary>
        public short? Sfcg { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public Guid? Ghlsh { get; set; }
        /// <summary>
        /// 顺序号码
        /// </summary>
        public string? Sxhm { get; set; }
        /// <summary>
        /// 医疗卡类型
        /// </summary>
        public int? Ylklx { get; set; }
        /// <summary>
        /// 卡类型
        /// </summary>
        public int? Klx { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? Kssj { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? Jssj { get; set; }
        /// <summary>
        /// 挂号费
        /// </summary>
        public decimal? Ghf { get; set; }
        /// <summary>
        /// 收费状态
        /// </summary>
        public short? Sfzt { get; set; }
        public int? Zbmz { get; set; }
        /// <summary>
        /// 二级科室编号
        /// </summary>
        public int? Ejksbh { get; set; }
        /// <summary>
        /// 预约详细时间
        /// </summary>
        public string? Yyxxsj { get; set; }
        /// <summary>
        /// 挂号类型
        /// </summary>
        public byte? Ghlx { get; set; }
        public byte[] Sjc { get; set; } = null!;
    }
}
